package com.hall.service;

import com.hall.dao.AttentionMapper;
import com.hall.pojo.Appointment;
import com.hall.pojo.SysUser;
import com.hall.pojo.common.Result;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface AttentionServes {

    List<SysUser> findAttentionById(String id, int is_del,String name);

    List<Appointment> findCollectById(String id, int is_del);

    int cancelAttentionById(int is_del, String id,String loginid);

    int cancelCollectById(int is_del, String id,String loginid);

    int addCollect(String appointId, String userId);

    Result addAttention(String userid,String beUserid);

    List<String> attentionIdList(String id);

    List<String> isCollect(String id);

    List<SysUser>selectAttention(String id, int is_del,String index);

    List<Appointment>selectCollect(String id, int is_del,String index);

    int pastselect(String appointId, String userId);

    List<SysUser>findFansList(String id);

     int updatecollect(String appointId,String userId);

}
